package com.ant.storage.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author melon
 * @since 2023-04-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("merge_procurement")
@ApiModel(value="MergeProcurement对象", description="")
public class MergeProcurement implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "采购单id")
    @TableField("subscribe_id")
    private String subscribeId;

    @ApiModelProperty(value = "采购人id")
    @TableField("purchaser_id")
    private Integer purchaserId;

    @ApiModelProperty(value = "合并的采购单号")
    @TableField("subscribe_number")
    private String subscribeNumber;

    @ApiModelProperty(value = "请款金额")
    @TableField("apply_price")
    private BigDecimal applyPrice;


    @ApiModelProperty(value = "创建时间")
    @TableField("creation_time")
    private Date creationTime;


    @ApiModelProperty(value = "审批id")
    @TableField("process_instance_id")
    private String processInstanceId;

}
